package com.ftf.tp.common.constants;

/**
 * @author tanghao
 * @date 2021/11/30
 */
public class RocketMqConstant {

    /**
     * 文章点赞tag
     */
    public static final String ARTICLE_SUPPORT = "article";

    /**
     * 点赞队列
     */
    public static final String SUPPORT_TOPIC = "support";

    /**
     * 发布评论队列
     */
    public static final String PUBLISH_COMMENT_TOPIC = "PUBLISH_COMMENT_TOPIC";

    /**
     * 发布文章队列
     */
    public static final String PUBLISH_ARTICLE_TOPIC = "PUBLISH_ARTICLE_TOPIC";

    /**
     * 点赞消息消费组
     */
    public static final String TP_BLOG_SUPPORT_CONSUMER_GROUP = "tp-blog-support-consumer-group";

    /**
     * 点赞消息消费组
     */
    public static final String TP_MESSAGE_SUPPORT_CONSUMER_GROUP = "tp-message-support-consumer-group";


    /**
     * 点赞消息-用户服务-消费组
     */
    public static final String TP_USER_SUPPORT_CONSUMER_GROUP = "tp-user-support-consumer-group";

    /**
     * 发布评论消费组
     */
    public static final String TP_COMMENT_ADD_CONSUMER = "TP_COMMENT_ADD_CONSUMER";

    /**
     * 审核消息队列
     */
    public static final String REVIEW_TOPIC = "REVIEW_TOPIC";

    /**
     * 评论审核消息队列
     */
    public static final String REVIEW_COMMENT_TAG = "REVIEW_TOPIC:REVIEW_COMMENT_TAG";

    /**
     * 文章审核消息队列
     */
    public static final String REVIEW_BLOG_TAG = "REVIEW_TOPIC:REVIEW_BLOG_TAG";

}
